import request from '@/utils/request'

// 查询外包商管理列表
export function outsourcersManage(query) {
  return request({
    url: '/manage/outsourcersManage/list',
    method: 'get',
    params: query
  })
}

// 查询外包商管理单条详情
export function outsourcersManageEdit(params) {
  return request({
    url: '/manage/outsourcersManage/'+params,
    method: 'get',
  })
}

// 修改外包商管理信息
export function outsourcersManageUpdate(data) {
  return request({
    url: '/manage/outsourcersManage',
    method: 'put',
    data: data
  })
}

// 修改邮寄单号
export function batchEditMailingNumber(data) {
  return request({
    url: '/manage/outsourcersManage/batchEditMailingNumber',
    method: 'put',
    data: data
  })
}

// 修改邮寄单号
export function batchEditOutResource(data) {
  return request({
    url: '/manage/outsourcersManage/batchEditOutResource',
    method: 'put',
    data: data
  })
}

// 确认
export function confirm(data) {
  return request({
    url: '/manage/outsourcersManage/confirm',
    method: 'put',
    data: data
  })
}

